package com.hupu.jrs.util

import android.content.Context

/**
 * Created by sll on 2016/3/30.
 */
object StringUtil {

    fun copy(mContext: Context, stripped: String) {
        val clipboard = mContext.getSystemService(Context.CLIPBOARD_SERVICE) as android.content.ClipboardManager
        val clip = android.content.ClipData.newPlainText("content", stripped)
        clipboard.primaryClip = clip
        ToastUtil.showToast("复制成功")
    }
}
